package xq.gwt.mvc.model;
import java.io.Serializable;



public class PropertyRelation implements Serializable{		
	private static final long serialVersionUID = -3872376249287708074L;
	private Class<? extends EntityModel> toEntity;	
	private String toPropertyName;
	
	public PropertyRelation(){
		
	}
	
	public PropertyRelation(Class<? extends EntityModel> toEntity, String toPropertyName){
		this.toEntity = toEntity;
		this.toPropertyName = toPropertyName;
	}
	
	public Class<? extends EntityModel> getToEntity() {
		return toEntity;
	}
	public void setToEntity(Class<? extends EntityModel> toEntity) {
		this.toEntity = toEntity;
	}
	public String getToPropertyName() {
		return toPropertyName;
	}
	public void setToPropertyName(String toPropertyName) {
		this.toPropertyName = toPropertyName;
	}
	
	
	
}
